<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>申请处理</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
    <link rel="stylesheet" href="./css/index.css?v=20190989">
    <link rel="Shortcut Icon" href="cachet.ico">
</head>
<body >
<div class="alert_bigbox">
    <form class="layui-form">
    <ul class="new_computer alert_box">
        <li>
            <div class="layui-input-inline">
                <label class="layui-form-label">申请类型:</label>
                <div class="layui-input-inline new_textcontent">
                    印章外带
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">申请原因:</label>
                <div class="layui-input-inline  new_textcontent">
                    由于出差需要使用印章
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">申请次数:</label>
                <div class="layui-input-inline new_textcontent">
                    22次
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">申请时间:</label>
                <div class="layui-input-inline new_textcontent">
                    2018-09-02 12：00：00
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">申请人:</label>
                <div class="layui-input-inline new_textcontent">
                    正常
                </div>
            </div>
            <div class="layui-input-inline ">
                <label class="layui-form-label">使用时间:</label>
                <div class="layui-input-inline new_textcontent">
                    2019-09-09 2019-02-09
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">申请印章:</label>
                <div class="layui-input-inline new_textcontent">
                    财务印章
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">审核备注:</label>
                <div class="layui-input-inline ">
                    <textarea placeholder="请输入内容" class="layui-textarea"></textarea>
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">审核人:</label>
                <div class="layui-input-inline new_textcontent">
                    小明
                </div>
            </div>
        </li>
        <li>
            <div class="layui-input-inline ">
                <label class="layui-form-label">审核:</label>
                <div class="layui-input-inline ">
                    <input type="radio" name="agreen" value="y" lay-filter="agreen" title="同意" checked>
                    <input type="radio" name="agreen" value="n" lay-filter="agreen" title="拒绝">

                </div>
            </div>
       </li>
        <li style="display: none;">
            <div class="layui-input-inline ">
               <label class="layui-form-label">拒绝原因:</label>
               <div class="layui-input-inline ">
                    <textarea placeholder="请输入拒绝内容" class="layui-textarea"></textarea>
               </div>
            </div>
        </li>
        <li>
            <div class="layui-form-item text-center"  style="width: 100%">
                <div class="layui-input-block" style="margin-left: 0;">
                    <button class="layui-btn" lay-submit="" lay-filter="demo1">提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">取消</button>
                </div>
            </div>
        </li>
    </ul>
    </form>
</div>
<script src="./js/jquery.min.js"></script>
<script src="./layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use(['element','form','layedit'], function(){
        var element = layui.element;
        var form = layui.form;
        var layedit = layui.layedit;
        var   layer = layui.layer;
        form.on('radio(agreen)', function (data) {
            if(data.value=='n'){
                $(this).parents('li').next('li').css('display','block');
            }else{
                $(this).parents('li').next('li').css('display','none');
            }

        });
    });

</script>

</body>
</html>